package com.auxgroup.hr.front.dao.domain;

import org.apache.commons.lang.builder.ToStringBuilder;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 *
 * 取首次入职时间
 * The persistent class for the PS_JOB database table.
 * 
 */
@Entity
@Table(name="PS_JOB")
@NamedQuery(name="PsJob.findAll", query="SELECT p FROM PsJob p")
@IdClass(PsJobPrimary.class)
public class PsJob implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="EMPL_RCD")
	private BigDecimal emplRcd;

	@Id
	@Column(name="EMPLID")
	private String emplid;

	@Column(name="EFFDT")
	private Date effdt;

	@Column(name="EFFSEQ")
	private BigDecimal effseq;

	@Column(name="ACTION")
	private String action;

	@Column(name = "JOBCODE")
	private String jobcode;
	@Column(name = "SETID_JOBCODE")
	private String setidJobcode;

	@Column(name = "SETID_DEPT")
	private String setidDept;
	@Column(name = "DEPTID")
	private String deptid;

	public String getSetidJobcode() {
		return setidJobcode;
	}

	public void setSetidJobcode(String setidJobcode) {
		this.setidJobcode = setidJobcode;
	}

	public String getSetidDept() {
		return setidDept;
	}

	public void setSetidDept(String setidDept) {
		this.setidDept = setidDept;
	}

	public String getDeptid() {
		return deptid;
	}

	public void setDeptid(String deptid) {
		this.deptid = deptid;
	}

	public BigDecimal getEmplRcd() {
		return emplRcd;
	}

	public void setEmplRcd(BigDecimal emplRcd) {
		this.emplRcd = emplRcd;
	}

	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public Date getEffdt() {
		return effdt;
	}

	public void setEffdt(Date effdt) {
		this.effdt = effdt;
	}

	public BigDecimal getEffseq() {
		return effseq;
	}

	public void setEffseq(BigDecimal effseq) {
		this.effseq = effseq;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getJobcode() {
		return jobcode;
	}

	public void setJobcode(String jobcode) {
		this.jobcode = jobcode;
	}


	/* (non-Javadoc)
             * @see java.lang.Object#toString()
             */
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}